<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>P4_元素溢出</title>
    <style>
        .box{
            border: 5px solid black;
            width: 700px;
            height: 2000px;
            overflow: visible;
            overflow: hidden;
            overflow: scroll;
            overflow: auto;
        }
        img{
            width: 200px;
            vertical-align: baseline;
            vertical-align: bottom;
            vertical-align: top;
            vertical-align: middle;
        }
    </style>
</head>
<body>
       abyj<img src="1.png">国圈<img src="1.png">

       <div class="box">
           <img src="1.png" alt="">
           <img src="1.png" alt="">
           <img src="1.png" alt="">
           <img src="1.png" alt="">
           <img src="1.png" alt="">
       </div>
</body>
</html>